# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `tx_dsp.ice'

import Ice, IcePy, __builtin__

# Start of module AcornTxDsp
_M_AcornTxDsp = Ice.openModule('AcornTxDsp')
__name__ = 'AcornTxDsp'

if not _M_AcornTxDsp.__dict__.has_key('TxDsp'):
    _M_AcornTxDsp.TxDsp = Ice.createTempClass()
    class TxDsp(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornTxDsp.TxDsp:
                raise RuntimeError('AcornTxDsp.TxDsp is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornTxDsp::TxDsp', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornTxDsp::TxDsp'

        def ice_staticId():
            return '::AcornTxDsp::TxDsp'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def setMode(self, mode, current=None):
        # def setFilter(self, filter, current=None):
        # def oscSet(self, freq, current=None):
        # def oscInc(self, inc, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornTxDsp._t_TxDsp)

        __repr__ = __str__

    _M_AcornTxDsp.TxDspPrx = Ice.createTempClass()
    class TxDspPrx(Ice.ObjectPrx):

        def setMode(self, mode, _ctx=None):
            return _M_AcornTxDsp.TxDsp._op_setMode.invoke(self, ((mode, ), _ctx))

        def setFilter(self, filter, _ctx=None):
            return _M_AcornTxDsp.TxDsp._op_setFilter.invoke(self, ((filter, ), _ctx))

        def oscSet(self, freq, _ctx=None):
            return _M_AcornTxDsp.TxDsp._op_oscSet.invoke(self, ((freq, ), _ctx))

        def oscInc(self, inc, _ctx=None):
            return _M_AcornTxDsp.TxDsp._op_oscInc.invoke(self, ((inc, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornTxDsp.TxDspPrx.ice_checkedCast(proxy, '::AcornTxDsp::TxDsp', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornTxDsp.TxDspPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornTxDsp._t_TxDspPrx = IcePy.defineProxy('::AcornTxDsp::TxDsp', TxDspPrx)

    _M_AcornTxDsp._t_TxDsp = IcePy.defineClass('::AcornTxDsp::TxDsp', TxDsp, (), True, None, (), ())
    TxDsp.ice_type = _M_AcornTxDsp._t_TxDsp

    TxDsp._op_setMode = IcePy.Operation('setMode', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    TxDsp._op_setFilter = IcePy.Operation('setFilter', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    TxDsp._op_oscSet = IcePy.Operation('oscSet', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    TxDsp._op_oscInc = IcePy.Operation('oscInc', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())

    _M_AcornTxDsp.TxDsp = TxDsp
    del TxDsp

    _M_AcornTxDsp.TxDspPrx = TxDspPrx
    del TxDspPrx

# End of module AcornTxDsp
